/**
 * Created by CodeTlan.
 * User: Ing. Miguel Salas
 * Date: 3/11/12
 * Time: 4:22 PM
 */
Ext.define('CT.model.Contrato', {
    extend: 'Ext.data.Model',
    fields: [
        { name: 'contrato_k', type: 'string'},
        { name: 'contrato', type:'string'},
        { name: 'trabajador_k', type:'string' },
        { name: 'ficha', type:'string'},
        { name: 'nombre', type:'string' },
        { name: 'apellidos', type:'string' },
        { name: 'nombreap', type: 'string'},
        { name: 'fecha_inicio', type: 'date', dateFormat: 'Y-m-d'},
        { name: 'fecha_fin', type: 'date', dateFormat: 'Y-m-d'},
        { name: 'dias', type: 'string'},
        { name: 'departamento_k', type:'string'},
        { name: 'departamento', type: 'string'},
        { name: 'categoria_k', type:'string'},
        { name: 'categoria', type:'string'}
    ]
});